package com.example.servicehi.controller;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: Robin
 * @Date: 2019/4/28 下午2:22
 * @Description: TODO
 */
@FeignClient(value = "service-server")
public interface FeignExampleService {
    @GetMapping("hello")
    String hello(@RequestParam(value = "name") String name);
}
